package com.prs.crm.service.purchase;

import java.io.File;

import com.prs.crm.domain.purchase.PurchaseOrder;
import com.prs.crm.domain.stock.Product;
import com.prs.crm.service.FlowService;

public interface PurchaseOrderService extends FlowService<PurchaseOrder> {

	void savePurchaseOrderDetail(PurchaseOrder purchaseOrder,
			Product[] products, String[] productNames, Double[] markprices,
			Integer[] stockNums, Double[] prices, Double[] discounts,
			Double[] totolMonlys,File file,String fileName);
	
	
	PurchaseOrder  getPurchaseOrder(java.io.Serializable id);
	
	void saveOrUpdate(PurchaseOrder purchaseOrder);

}
